package com.ruoyi.hospital.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物资库存对象 materiel_inventory
 * 
 * @author qichi
 * @date 2023-07-05
 */
public class MaterielInventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 租户id */
    @Excel(name = "租户id")
    private Long tenantId;

    /** 物资id */
    @Excel(name = "物资id")
    private Long materielId;

    /** 品牌id */
    @Excel(name = "品牌id")
    private Long brandId;

    /** 供应商id */
    @Excel(name = "供应商id")
    private Long supplierId;

    /** 条形码 */
    @Excel(name = "条形码")
    private String barCode;

    /** 入库数量 */
    @Excel(name = "入库数量")
    private Long inventoryData;

    /** 入库价格 */
    @Excel(name = "入库价格")
    private BigDecimal price;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 物资库存id */
    @Excel(name = "物资库存id")
    private Long materielInventoryId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTenantId(Long tenantId) 
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId() 
    {
        return tenantId;
    }
    public void setMaterielId(Long materielId) 
    {
        this.materielId = materielId;
    }

    public Long getMaterielId() 
    {
        return materielId;
    }
    public void setBrandId(Long brandId) 
    {
        this.brandId = brandId;
    }

    public Long getBrandId() 
    {
        return brandId;
    }
    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setBarCode(String barCode) 
    {
        this.barCode = barCode;
    }

    public String getBarCode() 
    {
        return barCode;
    }
    public void setInventoryData(Long inventoryData) 
    {
        this.inventoryData = inventoryData;
    }

    public Long getInventoryData() 
    {
        return inventoryData;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setMaterielInventoryId(Long materielInventoryId) 
    {
        this.materielInventoryId = materielInventoryId;
    }

    public Long getMaterielInventoryId() 
    {
        return materielInventoryId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tenantId", getTenantId())
            .append("materielId", getMaterielId())
            .append("brandId", getBrandId())
            .append("supplierId", getSupplierId())
            .append("barCode", getBarCode())
            .append("inventoryData", getInventoryData())
            .append("price", getPrice())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("deptId", getDeptId())
            .append("materielInventoryId", getMaterielInventoryId())
            .toString();
    }
}
